<table class="table table-hover m-b-none" >

    <thead>
    <tr>
        <th width="80">id</th>
        <th width="250">所属用户id[用户名]</th>
        <th width="180">收货姓名</th>
        <th width="100">手机</th>
        <th width="150">收货地址</th>
        <th width="150">奖品ID(奖品名称)</th>
        <th width="160">奖品数量</th>
        <th width="150">兑换编码</th>
        <th width="150">中奖时间</th>
        <th width="150">发货时间</th>
        <!--<th width="150" >收货时间</th>-->
        <th width="150">兑换时间</th>
        <th width="150">物流公司</th>
        <th width="150">单号</th>
        <th width="150">是否发货</th>
        <th width="150">是否已兑换</th>

        <th width="380">操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name="data.list" id="vo" }

    <tr >
        <td>
            {$vo.id}
        </td>
        <td>{$vo.user_id}[{$vo.usernames}]</td>
        <td>{$vo.username}</td>
        <td>{$vo.phone}</td>
        <td>{$vo.address}</td>
        <td>{$vo.prize_id}-{$vo.prize_name}</td>
        <td>{$vo.num}</td>
        <td>{$vo.bianma}</td>
        <td>{$vo.wintime|date="Y-m-d h:m:s"}</td>
        <td>{$vo.fahuotime|date="Y-m-d h:m:s"}</td>
        <!--<td>{$vo.shouhuotime|dateTpl}</td>-->
        <td>{$vo.duihuantime|date="Y-m-d h:m:s"}</td>
        <td>{$vo.wuliuid}</td>
        <td>{$vo.danhao}</td>
        <td>{eq name="vo.wlstatus" value="1" }已发货{/eq}
            {eq name="vo.wlstatus" value="0" }未发货{/eq}
        </td>
        <td>{eq name="vo.status" value="1" }已兑换{/eq}
            {eq name="vo.status" value="0" }未兑换{/eq}
        </td>

        <td style="text-align: center;">
            <!--<a href="{:url('info',array('id'=>$vo['id']))}"  title="编辑" class="fa fa-edit m-xs" ></a>-->
            <a href="javascript:;" class="btn btn-default btn-sm m-xs" ><i class="fa row-details fa-plus-square-o list_tr_open">查看兑换记录</i></a>


            {empty name="vo.danhao"}
            <a href="javascript:;"
               data-remote="{:url('shipping',array('id'=>$vo.id))}"
               data-toggle="ajaxModal" class="btn btn-default btn-sm"  title="发货">发货</a></td>
        {/empty}


        <!--<a href="{:url('del',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定将 {$vo.name} 删除？"  class="fa fa-trash"  title="删除"></a>-->
        </td>
    </tr>
    <tr class="hide">

        <td colspan="6" valign="top">
            <p style="color:#1F2D3D;font-size:16px">商品名称：{$vo.prize_name}</p>
            <p style="color:#1F2D3D;font-size:16px">收货人：{$vo.username}</p>
            <p style="color:#1F2D3D;font-size:16px">收货地址：{$vo.address}</p>
            <p style="color:#1F2D3D;font-size:16px">物流单号：{$vo.danhao}</p>
        </td>
        <td colspan="4" valign="top">
            <p style="color:#1F2D3D;font-size:16px">奖品数量：{$vo.num}</p>
            <p></p>
            <p></p>
            <p></p>
        </td>
        <td colspan="4" valign="top">
            <p style="color:#1F2D3D;font-size:16px">兑换时间：{$vo.duihuantime|date="Y-m-d h:m:s"}</p>
            <p style="color:#1F2D3D;font-size:16px">发货时间：{$vo.fahuotime|date="Y-m-d h:m:s"}</p>
            <p></p>
            <p></p>
        </td>
    </tr>

    {/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%" >
    <tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
